home *** CD-ROM | disk | FTP | other *** search
- on narrateTour
- global gNumberofSlides, gCurrentSlide, gSoundPath, gBackHighMusicVolume, gFadeSteps, gBackLowMusicVolume
- if the volume of sound 1 > gBackLowMusicVolume then
- repeat with x = 1 to gFadeSteps
- set the volume of sound 1 to gBackHighMusicVolume - (x * 10)
- updateStage()
- startTimer()
- repeat while the timer < 10
- nothing()
- end repeat
- end repeat
- end if
- startTimer()
- repeat while the timer < 60
- nothing()
- end repeat
- sound playFile 2, gSoundPath & gCurrentSlide & ".aif"
- end
-